package com.ocom.common.vo.human;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class UserInfoVo implements Serializable {

    private static final long serialVersionUID = 3856631126045527703L;
    //单位编号
    @JsonProperty("comId")
    private Long comId;
    //人员id
    @JsonProperty("pId")
    private Integer pId;
    //部门id
    @JsonProperty("deptId")
    private Long deptId;
    //部门id
    @JsonProperty("parentDeptID")
    private Long parentDeptID;
    //人员姓名
    @JsonProperty("pName")
    private String pName;
    //人员编号
    @JsonProperty("pCode")
    private String pCode;
    //人员类型
    @JsonProperty("pType")
    private String pType;
    //手机号
    @JsonProperty("pPhone")
    private String pPhone;
    //身份证
    @JsonProperty("pIden")
    private String pIden;
    //人员状态
    @JsonProperty("status")
    private Integer status=0;
    //页码
    @JsonProperty("page")
    private Integer page;
    //每页数量
    @JsonProperty("size")
    private Integer size;

    private String userName;
    private String telephone;
    private String identity;

    //默认找列表   true 时候找一个人
    private Boolean onlyOne = false ;

    private Long startPid;

    @Override
    public String toString() {
        return "UserInfoVo{" +
                "comId=" + comId +
                ", pId=" + pId +
                ", deptId=" + deptId +
                ", parentDeptID=" + parentDeptID +
                ", pName='" + pName + '\'' +
                ", pCode='" + pCode + '\'' +
                ", pType='" + pType + '\'' +
                ", pPhone='" + pPhone + '\'' +
                ", pIden='" + pIden + '\'' +
                ", status=" + status +
                ", page=" + page +
                ", size=" + size +
                ", userName='" + userName + '\'' +
                ", telephone='" + telephone + '\'' +
                ", identity='" + identity + '\'' +
                ", onlyOne=" + onlyOne +
                '}';
    }
}
